package com.ssm.collection.core.common.entity.user.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssm.collection.core.common.dao.DynamicSqlParameter;
import com.ssm.collection.core.common.entity.user.UserDao;
import com.ssm.collection.core.common.entity.user.UserEntity;
import com.ssm.collection.core.common.entity.user.UserService;
import com.ssm.collection.core.common.service.impl.BaseServiceImpl;

@Service
public class UserServiceImpl extends BaseServiceImpl<UserEntity, Long> implements UserService {

	Logger log = LoggerFactory.getLogger(getClass());
	
	@Autowired
	private UserDao userDao;

	@Override
	public List<UserEntity> getBatchUser(DynamicSqlParameter params) {
		params.setSqlId("selectBatch");
		return userDao.select(params);
	}

}
